﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace WP7.QR.Views
{
    public partial class QRReaderResultPage : PhoneApplicationPage
    {
        public QRReaderResultPage()
        {
            InitializeComponent();
        }

        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            if (this.NavigationContext.QueryString.ContainsKey("qrcode"))
                this.txt.Text = this.NavigationContext.QueryString["qrcode"].ToString();

            base.OnNavigatedTo(e);
        }
    }
}